Automatic Algorithm Synthesis Applied to Arc Consistency : A Case Study
نویسنده
چکیده
We are currently designing and implementing a knowledge-based automatic program generator, called Descartes. We show in this paper how Descartes applies to a specification of arc consistency and manages to “discover” an optimal worst-case algorithm for this problem. Finding and improving algorithms for arc consistency in CSPs has been the topic of active research for twenty years. After several attempts, an optimal worst-case algorithm, AC4, was published in 1986. Since then, several improvements have been performed, in particular AC6 last year, which improves the average-case complexity. We show how an optimal worst-case algorithm, though not as elegant as, but “trickier” than AC4, can be generated. Nevertheless, many difficulties remain, which we discuss. In particular, AC6, which is better in average-case complexity than AC4, remains out of reach.
منابع مشابه
An Optimal k-Consistency Algorithm
This paper generalizes the arc-consistency algorithm of Mohr and Henderson [4] and the pathconsistency algorithm of Han and Lee [2] to a k-consistency algorithm (arc-consistency and path-consistency being 2-consistency and 3-consistency, respectively). The algorithm is a development of Freuder's synthesis algorithm [1]. It simultaneously establishes i-consistency for each 1 <~ i <~ k. It has wo...
متن کاملArc Consistency in the Dual Encoding of Non-Binary CSPs
A non-binary Constraint Satisfaction Problem (CSP) can be solved by converting the problem into an equivalent binary one and applying well-established binary CSP techniques. An alternative way is to use extended versions of binary techniques directly in the non-binary problem. There are two well-known methods in the literature for translating a non-binary CSP to an equivalent binary one; the hi...
متن کاملArc Consistency in Binary Encodings of Non-binary CSPs: Theoretical and Experimental Evaluation
A Non-binary Constraint Satisfaction Problem (CSP) can be solved by converting the problem into an equivalent binary one and applying well-established binary CSP techniques. An alternative way is to use extended versions of binary techniques directly on the non-binary problem. There are two well-known computational methods in the literature for translating a non-binary CSP to an equivalent bina...
متن کاملApproximated consistency for the automatic recording constraint
We introduce the automatic recording constraint (ARC) that can be used to model and solve scheduling problems where tasks may not overlap in time and the tasks linearly exhaust some resource. Since achieving generalized arc-consistency for the ARC is NP-hard, we develop a filtering algorithm that achieves approximated consistency only. Numerical results show the benefits of the new constraint o...
متن کاملApproximated Consistency for the Automatic Recording Problem
In constraint optimization, global constraints play a decisive role. To develop an efficient optimization tool, we need to be able to assess whether we are still able to improve the objective function further. This observation has lead to the development of a special kind of global constraints, so-called optimization constraints [2, 5]. Roughly speaking, an optimization constraint expresses our...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999